﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="LeftMenu.aspx.cs" Inherits="Moral_Teacher_ScoreInput_LeftMenu" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../../Common/css/main.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="../../Common/js/jquery.js"></script>

    <script type="text/javascript" src="../../Common/js/common.js"></script>

    <script type="text/javascript">
        function leftNav(obj, nav) {
            removeActiveStyle();
            obj.parentNode.className = "active";
            switch(nav) {
                case 0:
                    //parent.frames["mainFrame"].location.href = "";
                    break;
                case 1:
                    //parent.frames["mainFrame"].location.href = "";
                    break;
                case 2:
                    //parent.frames["mainFrame"].location.href = "";
                    break;
            }
        }
        
        /**
            移除active样式
        */
        function removeActiveStyle() {
            var liList = document.getElementsByTagName("li");
            for (var i=0; i<liList.length; i++) {
                liList[i].className = "";
            }
        }
    </script>

</head>
<body style="overflow: hidden;">
            <div class="leftWarp">
                <div class="menuBody">
                    <div class="menuList">
                        <dl>
                            <h2>
                                德育评分录入</h2>
                            <ul>
                                <dd>
                                    <li class="active"><a href="#" onclick="leftNav(this, 0)">&nbsp;&nbsp;&nbsp;&nbsp;本月评估</a></li>
                                    <li><a href="#" onclick="leftNav(this, 1)">&nbsp;&nbsp;&nbsp;&nbsp;本学期评估</a></li>
                                    <li><a href="#" onclick="leftNav(this, 2)">&nbsp;&nbsp;&nbsp;&nbsp;历史评估</a></li>
                                </dd>
                            </ul>
                        </dl>
                    </div>
                </div>
            </div>
</body>
</html>
